from pydantic import BaseModel
from typing import List, Optional

class Token(BaseModel):
    access_token: str
    token_type: str

class UserInfo(BaseModel):
    user_id: str
    user_name: str
    user_role: str


class UserRegisterAndLogin(BaseModel):
    user_name: str
    user_password: str